<%--
  Created by IntelliJ IDEA.
  User: User
  Date: 2024/5/16
  Time: 13:35
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
    <head>
        <title>用户注册</title>
    </head>
    <body>
        <h1>用户注册</h1>
        <a href="${pageContext.request.contextPath}/jsp/login.jsp">返回登录</a>
        <form action="${pageContext.request.contextPath}/register.user" method="post">
            用户名: <input type="text" name="username">
            <br>
            密码: <input type="password" name="password">
            <br>
            电话: <input type="text" name="phone">
            <br>
            地址: <input type="text" name="address">
            <br>
            <input type="submit" value="注册">
            <span style="color:red;">
                ${registerMsg}
            </span>
         </form>
    </body>
</html>
